home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-06-25 | 526 b | 19 lines | [TEXT/TrPm] |
- // Sample of a nested if statement
-
- If [“Status(CurrentPlatform) = 1”]
- Comment [“We are on the Mac”]
- Show Message [“Hi, Macintosh user”]
- Else
- Show Message [“Hi, Windows user”]
- If [“Status(CurrentMessageChoice) = 2”]
- Exit Script
- Else
- If [“Status(CurrentFileName) = "test"”]
- Go to Layout [original layout]
- Else
- If [“Invoice::date = Status(CurrentDate)”]
- Perform Script [Sub-scripts, <unknown>]
- End If
- End If
- End If
- End If